Skip to content

fix: Make datetime info message more explicit to prevent LLM confusion about current year#6101

Merged
tlongwell-block merged 1 commit intomainfrom
goose/issue-6066
Dec 14, 2025
Merged

fix: Make datetime info message more explicit to prevent LLM confusion about current year#6101
tlongwell-block merged 1 commit intomainfrom
goose/issue-6066

Conversation

@github-actions
Copy link
Contributor

Closes #6066

Summary

Changes made for issue #6066 (Make datetime info message more explicit):

  • Updated the datetime info message constructed in ExtensionManager::collect_moim.

  • Previous format:

    Datetime: {timestamp}

  • New format (per trigger comment requirement):

    It is currently {timestamp}

Details:

  • File modified: crates/goose/src/agents/extension_manager.rs
  • Specific change: one-line update of the format! call that initializes content in collect_moim:
    • From: "<info-msg>\nDatetime: {}\n"
    • To: "<info-msg>\nIt is currently {}\n"
  • No other behavior was changed: same timestamp source (chrono::Local), same formatting (%Y-%m-%d %H:%M:%S), and same overall <info-msg> wrapping.

Tests and checks:

  • cargo check (after source bin/activate-hermit) – passed.
  • cargo test -p goose – 3 existing failures in keyring-dependent config tests (config::base::tests::test_multiple_secrets, config::base::tests::test_secret_management, config::signup_tetrate::tests::test_configure_tetrate), all due to keyring/DBus environment and unrelated to this change.
  • cargo fmt – run, no formatting issues.
  • ./scripts/clippy-lint.sh – run, no new clippy issues introduced (see /tmp/clippy.log for full output).

Notes:

  • No new tests were added, in line with the trigger comment instructions.
  • No existing tests referenced the specific "Datetime: " string in the MOIM info message, so no test updates were necessary.
  • No .github files, lock files, or secrets were modified.

Generated by goose Issue Solver

@tlongwell-block tlongwell-block marked this pull request as ready for review December 13, 2025 03:02
@tlongwell-block tlongwell-block merged commit 108ffad into main Dec 14, 2025
15 checks passed
@tlongwell-block tlongwell-block deleted the goose/issue-6066 branch December 14, 2025 19:29
michaelneale added a commit that referenced this pull request Dec 15, 2025
* main:
  fix: Make datetime info message more explicit to prevent LLM confusion about current year (#6101)
  refactor: unify subagent and subrecipe tools into single tool (#5893)
  goose repo is too big for the issue solver workflow worker (#6099)
  fix: use system not developer role in db (#6098)
  Add /goose issue solver github workflow (#6068)
  OpenAI responses streaming (#5837)
  Canonical models for Providers (#5694)
  feat: add Inception provider for Mercury models (#6029)
  fix old sessions with tool results not loading (#6094)
  Fix community page mobile responsiveness and horizontal overflow (#6082)
zanesq added a commit that referenced this pull request Dec 15, 2025
* 'main' of github.com:block/goose: (22 commits)
  Disallow subagents with no extensions (#5825)
  chore(deps): bump js-yaml in /documentation (#6093)
  feat: external goosed server (#5978)
  fix: Make datetime info message more explicit to prevent LLM confusion about current year (#6101)
  refactor: unify subagent and subrecipe tools into single tool (#5893)
  goose repo is too big for the issue solver workflow worker (#6099)
  fix: use system not developer role in db (#6098)
  Add /goose issue solver github workflow (#6068)
  OpenAI responses streaming (#5837)
  Canonical models for Providers (#5694)
  feat: add Inception provider for Mercury models (#6029)
  fix old sessions with tool results not loading (#6094)
  Fix community page mobile responsiveness and horizontal overflow (#6082)
  Tool reply meta (#6074)
  chore: avoid accidentally using native tls again (#6086)
  Update vars to be capitalised to be in line with other variables in config file (#6085)
  docs: restructure recipe reference (#5972)
  docs: configure custom providers (#6044)
  docs: Community All-Stars Spotlight November 2025, CodeTV Hackathon edition (#6070)
  fix: include file attachments in queued messages (#5961)
  ...

# Conflicts:
#	crates/goose-server/src/routes/agent.rs
#	crates/goose/src/agents/extension_manager.rs
#	ui/desktop/src/api/sdk.gen.ts
fbalicchia pushed a commit to fbalicchia/goose that referenced this pull request Dec 16, 2025
…n about current year (block#6101)

Co-authored-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com>
aharvard added a commit that referenced this pull request Dec 16, 2025
…erer

* origin/main: (26 commits)
  Don't persist ephemeral extensions when resuming sessions (#5974)
  chore(deps): bump mdast-util-to-hast from 13.2.0 to 13.2.1 in /ui/desktop (#5939)
  chore(deps): bump node-forge from 1.3.1 to 1.3.2 in /documentation (#5898)
  Add Scorecard supply-chain security workflow (#5810)
  Don't show subagent tool when we're a subagent (#6125)
  Fix keyboard shortcut conflict for Focus Goose Window (#5809)
  feat(goose-cli): add feature to disable update (#5886)
  workflow: enable docs-update-recipe-ref (#6132)
  fix: filter tools in Ollama streaming when chat mode is enabled (#6118)
  feat(mcp): platform extension for "code mode" MCP tool calling (#6030)
  workflow: auto-update recipe-reference on release (#5988)
  Document recipe slash commands feature (#6075)
  docs: add GitHub Copilot device flow authentication details (#6123)
  Disallow subagents with no extensions (#5825)
  chore(deps): bump js-yaml in /documentation (#6093)
  feat: external goosed server (#5978)
  fix: Make datetime info message more explicit to prevent LLM confusion about current year (#6101)
  refactor: unify subagent and subrecipe tools into single tool (#5893)
  goose repo is too big for the issue solver workflow worker (#6099)
  fix: use system not developer role in db (#6098)
  ...
zanesq added a commit that referenced this pull request Dec 16, 2025
…sions

* 'main' of github.com:block/goose: (22 commits)
  Disallow subagents with no extensions (#5825)
  chore(deps): bump js-yaml in /documentation (#6093)
  feat: external goosed server (#5978)
  fix: Make datetime info message more explicit to prevent LLM confusion about current year (#6101)
  refactor: unify subagent and subrecipe tools into single tool (#5893)
  goose repo is too big for the issue solver workflow worker (#6099)
  fix: use system not developer role in db (#6098)
  Add /goose issue solver github workflow (#6068)
  OpenAI responses streaming (#5837)
  Canonical models for Providers (#5694)
  feat: add Inception provider for Mercury models (#6029)
  fix old sessions with tool results not loading (#6094)
  Fix community page mobile responsiveness and horizontal overflow (#6082)
  Tool reply meta (#6074)
  chore: avoid accidentally using native tls again (#6086)
  Update vars to be capitalised to be in line with other variables in config file (#6085)
  docs: restructure recipe reference (#5972)
  docs: configure custom providers (#6044)
  docs: Community All-Stars Spotlight November 2025, CodeTV Hackathon edition (#6070)
  fix: include file attachments in queued messages (#5961)
  ...

# Conflicts:
#	crates/goose-server/src/routes/agent.rs
#	crates/goose/src/agents/extension_manager.rs
#	ui/desktop/src/api/sdk.gen.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make datetime info message more explicit to prevent LLM confusion about current year

1 participant